package com.joolun.script.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joolun.script.dto.CommentExt;
import com.joolun.script.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 留言内容
 *
 * @author 臣服
 * @date 2022-01-12 10:51:45
 */
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentExt> queryLastReplyComment(@Param("scriptId") String scriptId,
                                           @Param("commentIdList") List<String> commentIdList,
                                           @Param("lastNumber") Integer lastNumber);

}
